package org.krtrain.sports.venue;

import org.kuali.rice.core.api.mo.common.active.Inactivatable;
import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
import org.kuali.rice.location.framework.state.StateEbo;

/**
 * @author Kuali Rice Team (rice.collab@kuali.org)
 */
public class Venue extends PersistableBusinessObjectBase implements Inactivatable {
    private static final long serialVersionUID = -7024758194859719950L;

    private String id;
    private String name;
    private String stateCode;
    private String description;
    private boolean active;

    private StateEbo state;

    public Venue() {
        super();
    }

    public StateEbo getState() {
        return state;
    }

    public void setState(StateEbo state) {
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStateCode() {
        return stateCode;
    }

    public void setStateCode(String stateCode) {
        this.stateCode = stateCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * The active indicator for an object.
     *
     * @return true if active false if not.
     */
    @Override
    public boolean isActive() {
        return this.active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

}
